import { Skeleton } from 'antd';
import { lazy, Suspense } from 'react';

const LazyViewer = lazy(() => import('../../lazy/workflow/Viewer'));

export default function Viewer(props) {
    return <Suspense fallback={<Skeleton active />}><LazyViewer {...props} /></Suspense>
}